Skip to main content

How to Specify PDF Builder for Output

We offer three different means of generating PDF output through our engines: our internal Fluent PDF renderer, Microsoft Office PDF and PdfTron. We use our internal PDF render by default. Here are the instructions on how to specify which PDF builder you want to use for output.

If you use the Java Engine, you can specify your desired PDF builder in the WindwardReports.properties file. To do so set these properties:

  • For PDFtron builder:
use.external.output.builder=true
output.builder=net.windward.env.PDFTronOutputBuilder
  • For Microsoft Office PDF builder, you will need the "OfficeToPdf.exe" file. You may download it here. Extract the zip to a location on the machine your application will have access to. Once you've done that, enter the following values in the WinwardReports.properties file:
use.external.output.builder=true
OfficeToPdf.exe= "PATH_TO\\OfficeToPdf.exe"
note

Make sure to include the name of the exe in the PATH_TO\\OfficeToPdf.exe